<style>
	.testitem-item{
		border-radius: 3px;
		background: #ffffff;
		border:1px solid #d2d6de;
		margin-bottom: 20px;
		width: 100%;
		padding:30px;
		box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	}
	.testitem-item .testitem__title{
		font-size:16px;
		font-weight:600;
		margin-bottom:30px;
	}
	.testitem-item .testitem__content{
		margin-bottom:30px;
		overflow:hidden;
	}
	.testitem-item .testitem__content img{
		max-width:100% !important;
	}
	.testitem-item .testitem__values{
		margin-bottom:30px;
	}
	.testitem-item  .testitem__answer{
		background-color:#ecf0f5;
		padding:20px;
	}
</style>
<div class="row">
	<div class="col-xs-12">
		<div class="box">
			<div class="box-header">
				试卷：{$row.title}
			</div>
			<div class="box-body">
				{foreach name="itemList" item="vo"}
				<div class="testitem-item">
					<div class="testitem__title">{$key+1}、 ({$vo.itembank.type_text}) {$vo.itembank.title} （{$vo.score}分）</div>
					<div class="testitem__content">{$vo.itembank.content}</div>
					<div class="testitem__values">
						{foreach $vo['itembank']['values'] ? json_decode($vo['itembank']['values'],true) : [] as $k=>$v}
							<p>{$v.key}:{$v.value}</p>
						{/foreach}
					</div>
					<div class="testitem__answer">
						正确答案：{$vo.itembank.type == 'judge' ? $vo.itembank.answer ? '对' : '错' : $vo.itembank.answer} &nbsp;&nbsp;&nbsp;&nbsp;
						答案解析：{$vo.itembank.answer_key}						
					</div>
				</div>
				{/foreach}	
				
			
			</div>
		</div>
	</div>
</div>